package com.rfid.a252robot.admin.bean;

import java.util.Objects;

public class Address {

    String pointName;
    String bizPointId;

    String mapCode;

    public String getMapCode() {
        return mapCode;
    }

    public void setMapCode(String mapCode) {
        this.mapCode = mapCode;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getBizPointId() {
        return bizPointId;
    }

    public void setBizPointId(String bizPointId) {
        this.bizPointId = bizPointId;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        Address address = (Address) o;
        return Objects.equals(pointName, address.pointName) && Objects.equals(bizPointId, address.bizPointId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(pointName, bizPointId);
    }

    @Override
    public String toString() {
        return "Address{" +
                "pointName='" + pointName + '\'' +
                ", bizPointId='" + bizPointId + '\'' +
                '}';
    }
}
